package com.biostime.qdingding.modules.qd.entity;

import com.biostime.qdingding.common.persistence.DataEntity;

/**
 * 返款特权Entity
 * @author phil
 * @version 2015-12-16
 */
public class Privilege extends DataEntity<Privilege> {

	private static final long serialVersionUID = 1L;
	
	private String type;// 类型
	private Integer total;// 总次数
	private Integer used;// 使用次数
	private Integer contractId;// 合同编号
	private Integer studentId;// 学员编号
	
	public Privilege(String id) {
		super(id);
	}

	public Privilege() {
		super();
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}
		
	public Integer getContractId() {
		return contractId;
	}

	public void setContractId(Integer contractId) {
		this.contractId = contractId;
	}
	
	public Integer getStudentId() {
		return studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	public Integer getUsed() {
		return used;
	}

	public void setUsed(Integer used) {
		this.used = used;
	}
}